/*
 * SubSystemLogger.h
 *
 *  Created on: Jun 27, 2017
 *      Author: zjf
 */

#ifndef SRC_SUBSYSTEMLOGGER_H_
#define SRC_SUBSYSTEMLOGGER_H_

#include <Poco/Util/Subsystem.h>
#include <Poco/Logger.h>

using namespace Poco;
using namespace Poco::Util;

namespace util
{

class NCSSubsystem : public Subsystem
{
public:
	NCSSubsystem(const char* name);
	virtual ~NCSSubsystem();

	Logger& logger() const { return _logger; }

private:
	Poco::Logger& _logger;

};

} /* namespace util */

#endif /* SRC_SUBSYSTEMLOGGER_H_ */
